class Tag < ActiveRecord::Base
    has_and_belongs_to_many :movies

    validates_presence_of :name
    validates_uniqueness_of :name, :message => 'has already been added.'
end
